httpStatus

Returns an Optional that contains error code of the failed request converted to HttpStatus if such conversion is valid, otherwise an empty Optional.